﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.Owin;

namespace WebFabricator.org
{
    public class WebAdorner : Adorner<IOwinContext>
    {

        public override void Initialize(IOwinContext fabric)
        {
            
        }
       
        protected override void Adorn(IWebFabric<IOwinContext> fabric)
        {
            fabric.Context.Response.ContentType = "text/plain";
            fabric.Context.Response.WriteAsync(fabric.Context.Request.Uri.ToString());
        }

        protected override void Dispose(bool disposing)
        {
            
        }

       
    }
}